<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .optionsArea{background-color: #ccc;width:650px;padding:2px 10px;margin-bottom: 10px;}
        p{margin-top:5px;margin-bottom: 5px;}
        #collect_img{
            position: relative;
            top: -3px;
        }
        .obn{
            position: relative;
            left: 3px;
        }
    </style>
</head>
<body>
{:widget('Cate/header')}
<div class="breadcrumbs">
    <div class="container_12">
        <div class="grid_12">
            <a href="index.html">Home</a><span></span><a href="#">Category</a><span></span><span class="current">This page</span>
        </div><!-- .grid_12 -->
    </div><!-- .container_12 -->
</div><!-- .breadcrumbs -->


<section id="main" class="home">
        <div class="container_12">
            <div id="content">
                <!--克拉钻-->
                <div class="products" id="products_02">
                    {if !empty($goods_datas)}
                    {foreach $goods_datas as $v}
                    <article class="grid_3 article">
                        <img class="sale" src="/static/home/img/sale.png" alt="Sale">
                        <div class="prev">
                            <a href="/lists/detail/id/{$v['id']}"><img src="/uploads/goods_pic/{$v['goods_pic']}" alt="Product 1" title=""></a>
                        </div><!-- .prev -->

                        <h3 class="title">{$v['goods_name']}</h3>
                        <div class="cart">
                            <div class="price">
                                <div class="vert">
                                    ${$v['goods_price']}
                                    <!--<div class="price_old">$725.00</div>-->
                                </div>
                            </div>
                            <a href="javascript:" class="like" onclick="to_gives('/gives/add/id/{$v.id}')">
                                <img src="/static/home/img/project.png" title="添加点赞">
                            </a>
                        </div><!-- .cart -->

                    </article><!-- .grid_3.article -->
                    {/foreach}
                    {else}
                    <article class="grid_3 article">
                     <span>没有收藏任何商品</span>
                    </article><!-- .grid_3.article -->
                    {/if}
                    <div class="clear"></div>
                </div><!-- .products -->

        <div class="clear"></div>

        </div><!-- #content_bottom -->
    </div><!-- .container_12 -->
</section><!-- #main.home -->
<script>
    layui.use(['form','layer','table'], function() {
        //弹窗
        var layer = layui.layer;
        var form = layui.form;
    });
</script>
{:widget('Cate/footer')}
</body>
</html>


